
<!DOCTYPE html>
<html lang="zh-cn">
<head><meta name="generator" content="Hexo 3.8.0">
    <title>Admui-basic v2.1.0 更新日志 - Admui 开发文档</title>
    <meta charset="utf-8">
    <meta name="keywords" content="admui,admui官网,admui框架,通用后台管理系统,后台框架,ui框架">
    <meta name="description" content="Admui 是一个基于最新 Web 技术的企业级通用管理系统快速开发框架，可以帮助企业极大的提高工作效率，节省开发成本，提升品牌形象">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1">
    <!--[if lte IE 9]>
    <meta http-equiv="refresh" content="0; url='http://www.admui.com/ie'" />
    <![endif]-->
    <meta name="renderer" content="webkit">
    <meta http-equiv="Cache-Control" content="no-siteapp">
    <meta name="mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-title" content="Admui">
    <meta name="msapplication-TileImage" content="http://cdn.admui.com/site/img/app/icon-72@x2.png">
    <meta name="msapplication-TileColor" content="#395b81">
    <link rel="apple-touch-icon-precomposed" href="http://cdn.admui.com/site/img/app/icon-72@x2.png">
    <link rel="shortcut icon" href="http://cdn.admui.com/site/img/app/favicon.png">
    <meta name="msapplication-TileColor" content="#62a8ea">
    <script>
        window.PAGE_TYPE = ""
        var _hmt = _hmt || [];
        (function() {
            var hm = document.createElement("script");
            hm.src = "https://hm.baidu.com/hm.js?cd758c4c82a4964836712308cb782b12";
            var s = document.getElementsByTagName("script")[0];
            s.parentNode.insertBefore(hm, s);
        })();
    </script>
    <link rel="stylesheet" href="http://cdn.admui.com/docs/v2/css/page.css">
</head>
<body>
<div id="mobile-bar">
    <a class="menu-button"></a>
    <a class="logo" href="../../index.html">Admui开发文档</a>
    <select class="version-select">
        <option value="basic" selected>基础版</option>
        <option value="pjax">pjax版</option>
        <option value="iframe">iframe版</option>
    </select>
</div>
<div id="header">
    <a id="logo" href="../../index.html">
        <img src="http://cdn.admui.com/docs/common/images/logo.svg"> <span>Admui 开发文档</span>
    </a>
    <select class="version-select">
        <option value="basic" selected>基础版</option>
        <option value="pjax">pjax版</option>
        <option value="iframe">iframe版</option>
    </select>
    <ul id="nav">
        <li>
    <a href="../../index.html" class="nav-link">首页</a>
</li>
<li>
    <a href="../../guide/index.html" class="nav-link">介绍</a>
</li>
<li>
    <a href="../../ui/index.html" class="nav-link">UI</a>
</li>
<li>
    <a href="../../java/index.html" class="nav-link">JAVA</a>
</li>
<li>
    <a href="../index.html" class="nav-link current">更新日志</a>
</li>
<li>
    <a href="../../1.x/index.html" class="nav-link">v1版本</a>
</li>

    </ul>
</div>

<div id="main" class="fix-sidebar">
    
    <div class="sidebar log">
    <ul class="main-menu">
        <li>
    <a href="../../index.html" class="nav-link">首页</a>
</li>
<li>
    <a href="../../guide/index.html" class="nav-link">介绍</a>
</li>
<li>
    <a href="../../ui/index.html" class="nav-link">UI</a>
</li>
<li>
    <a href="../../java/index.html" class="nav-link">JAVA</a>
</li>
<li>
    <a href="../index.html" class="nav-link current">更新日志</a>
</li>
<li>
    <a href="../../1.x/index.html" class="nav-link">v1版本</a>
</li>

    </ul>
    <div class="list">
        <ul style="padding:0">
            
            <li>
                <a href="index.html" class="sidebar-link current">Admui-basic v2.1.0 更新日志</a>
            </li>
            
            <li>
                <a href="../v2.0.0/index.html" class="sidebar-link">Admui-basic v2.0.0 更新日志</a>
            </li>
            
        </ul>
    </div>
</div>
<div class="content log post">
    <h1>Admui-basic v2.1.0 更新日志</h1>
    <h4>2019/04/12</h4>
    <p>Admui-basic v2.1.0 重点增加权限相关功能；v2.1.0 更新日志如下：</p>
<a id="more"></a>
<h4 id="新增"><a href="#%E6%96%B0%E5%A2%9E" class="headerlink" title="新增"></a>新增</h4><ul>
<li>角色管理新增数据权限配置功能，完善权限控制体系；当前仅在组织机构中实现了完整的数据控制权限功能。如在其他地方添加该功能，您只需要在要控制权限的地方 sql 操作加如下限制即可：</li>
</ul>
<figure class="highlight plain"><table><tr><td class="code"><pre><span class="line">AND EXISTS(</span><br><span class="line">SELECT 1 FROM view_user_org_auth WHERE view_user_org_auth.org_id=业务表.org_id</span><br><span class="line">AND view_user_org_auth.user_id=#&#123;当前登录用户的ID,jdbcType=VARCHAR&#125;</span><br><span class="line">)</span><br></pre></td></tr></table></figure>
<ul>
<li>新增项目启动时加载内容到内存的 runner 类实现。例如，加载一些数据库常量配置到内存；</li>
</ul>
<h4 id="优化"><a href="#%E4%BC%98%E5%8C%96" class="headerlink" title="优化"></a>优化</h4><ul>
<li>优化 session 失效后发起 ajax 请求出现的报错情况，优化后可直接跳转到登录页面；</li>
<li>优化 session 失效后重新登录时无法重新跳转到失效前页面的情况；</li>
<li>优化 modal（bootstrap 模态框）组件的居中问题以及超出一屏后的滚动问题；</li>
<li>优化 select 及 select2 的显示效果；</li>
</ul>
<h4 id="修复"><a href="#%E4%BF%AE%E5%A4%8D" class="headerlink" title="修复"></a>修复</h4><ul>
<li>修复主框架系统菜单收起时，鼠标移入时二级菜单未显示问题；</li>
<li>修复主框架部分全屏操作按钮点击报错问题；</li>
<li>修复显示设置中修改主体颜色配置、系统菜单展开或收起状态时，保存后未生效问题；</li>
<li>修复 swagger 未登录系统时打开页面加载不成功问题；</li>
<li>修复显示设置 AOP 实现中的 context 为空时导致的空指针问题；</li>
<li>修复角色管理页面数据权限显示问题。</li>
</ul>
<h3 id="涉及文件"><a href="#%E6%B6%89%E5%8F%8A%E6%96%87%E4%BB%B6" class="headerlink" title="涉及文件"></a>涉及文件</h3><h4 id="自动构建版本"><a href="#%E8%87%AA%E5%8A%A8%E6%9E%84%E5%BB%BA%E7%89%88%E6%9C%AC" class="headerlink" title="自动构建版本"></a>自动构建版本</h4><figure class="highlight plain"><table><tr><td class="code"><pre><span class="line">build/configuration/config.js</span><br><span class="line">package-lock.json</span><br><span class="line">package.json</span><br><span class="line">public/data/system/role/trees.json</span><br><span class="line">public/vendor/animsition/scss/animsition.min.css</span><br><span class="line">public/vendor/animsition/scss/base.min.css</span><br><span class="line">public/vendor/animsition/scss/loading.min.css</span><br><span class="line">public/vendor/ashoverscroll/jquery-asHoverScroll.js</span><br><span class="line">public/vendor/ashoverscroll/jquery-asHoverScroll.min.js</span><br><span class="line">public/vendor/datatables-select/dataTables.select.bootstrap4.css</span><br><span class="line">public/vendor/intro-js/introjs.css</span><br><span class="line">public/vendor/jquery-contextmenu/scss/jquery.contextMenu.min.css</span><br><span class="line">public/vendor/jquery-mmenu/jquery-mmenu.css</span><br><span class="line">public/vendor/mCustomScrollbar/jquery.mCustomScrollbar.css</span><br><span class="line">public/vendor/plyr/scss/mixins.min.css</span><br><span class="line">public/vendor/screenfull/screenfull.js</span><br><span class="line">public/vendor/screenfull/screenfull.min.js</span><br><span class="line">public/vendor/select2/select2.css</span><br><span class="line">src/assets/js/system/account/message.js</span><br><span class="line">src/assets/js/system/role.js</span><br><span class="line">src/assets/scss/system/role.scss</span><br><span class="line">src/templates/pages/index.html</span><br><span class="line">src/templates/pages/system/role.html</span><br><span class="line">src/templates/partials/site-navbar.hbs</span><br><span class="line">src/themes/base/js/app.js</span><br><span class="line">src/themes/base/js/site.js</span><br><span class="line">src/themes/base/scss/layouts/_site-menubar-fold.scss</span><br><span class="line">src/themes/base/scss/layouts/_site-menubar-unfold.scss</span><br><span class="line">src/themes/global/js/configs/site-configs.js</span><br><span class="line">src/themes/global/scss/bootstrap-extend/_forms.scss</span><br><span class="line">src/themes/global/scss/bootstrap-extend/_modals.scss</span><br><span class="line">src/themes/global/scss/vendor/select2/scss/theme/default/_layout.scss</span><br><span class="line">src/themes/topbar/js/app.js</span><br><span class="line">src/themes/topbar/js/site.js</span><br></pre></td></tr></table></figure>
<h4 id="基础源码版本"><a href="#%E5%9F%BA%E7%A1%80%E6%BA%90%E7%A0%81%E7%89%88%E6%9C%AC" class="headerlink" title="基础源码版本"></a>基础源码版本</h4><figure class="highlight plain"><table><tr><td class="code"><pre><span class="line">package-lock.json</span><br><span class="line">package.json</span><br><span class="line">public/data/system/role/trees.json</span><br><span class="line">public/vendor/animsition/scss/animsition.min.css</span><br><span class="line">public/vendor/animsition/scss/base.min.css</span><br><span class="line">public/vendor/animsition/scss/loading.min.css</span><br><span class="line">public/vendor/ashoverscroll/jquery-asHoverScroll.js</span><br><span class="line">public/vendor/ashoverscroll/jquery-asHoverScroll.min.js</span><br><span class="line">public/vendor/datatables-select/dataTables.select.bootstrap4.css</span><br><span class="line">public/vendor/intro-js/introjs.css</span><br><span class="line">public/vendor/jquery-contextmenu/scss/jquery.contextMenu.min.css</span><br><span class="line">public/vendor/jquery-mmenu/jquery-mmenu.css</span><br><span class="line">public/vendor/mCustomScrollbar/jquery.mCustomScrollbar.css</span><br><span class="line">public/vendor/plyr/scss/mixins.min.css</span><br><span class="line">public/vendor/screenfull/screenfull.js</span><br><span class="line">public/vendor/screenfull/screenfull.min.js</span><br><span class="line">public/vendor/select2/select2.css</span><br></pre></td></tr></table></figure>
<h4 id="java-版本"><a href="#java-%E7%89%88%E6%9C%AC" class="headerlink" title="java 版本"></a>java 版本</h4><figure class="highlight plain"><table><tr><td class="code"><pre><span class="line">.gitignore</span><br><span class="line">README.md</span><br><span class="line">admui-core/src/main/java/com/ermei/admui/core/utils/Base64Utils.java</span><br><span class="line">admui-sys/.settings/org.eclipse.wst.common.component</span><br><span class="line">admui-sys/src/main/java/com/ermei/admui/sys/entity/DisplaySetting.java</span><br><span class="line">admui-sys/src/main/java/com/ermei/admui/sys/websocket/SocketHandler.java</span><br><span class="line">admui-sys/src/main/java/com/ermei/admui/sys/websocket/WebSocketConfig.java</span><br><span class="line">admui-sys/src/main/resources/mapping/DisplaySettingMapper.xml</span><br><span class="line">admui-web/.settings/org.eclipse.wst.common.component</span><br><span class="line">admui-web/src/main/java/com/ermei/admui/controller/IndexController.java</span><br><span class="line">admui-web/src/main/java/com/ermei/admui/controller/UserController.java</span><br><span class="line">admui-web/src/main/resources/application.properties</span><br><span class="line">admui-web/src/main/resources/public/css/system/role.css</span><br><span class="line">admui-web/src/main/resources/public/js/system/role.js</span><br><span class="line">admui-web/src/main/resources/public/themes/base/css/site.css</span><br><span class="line">admui-web/src/main/resources/public/themes/base/css/skins/brown.css</span><br><span class="line">admui-web/src/main/resources/public/themes/base/css/skins/cyan.css</span><br><span class="line">admui-web/src/main/resources/public/themes/base/css/skins/green.css</span><br><span class="line">admui-web/src/main/resources/public/themes/base/css/skins/grey.css</span><br><span class="line">admui-web/src/main/resources/public/themes/base/css/skins/indigo.css</span><br><span class="line">admui-web/src/main/resources/public/themes/base/css/skins/orange.css</span><br><span class="line">admui-web/src/main/resources/public/themes/base/css/skins/pink.css</span><br><span class="line">admui-web/src/main/resources/public/themes/base/css/skins/purple.css</span><br><span class="line">admui-web/src/main/resources/public/themes/base/css/skins/red.css</span><br><span class="line">admui-web/src/main/resources/public/themes/base/css/skins/teal.css</span><br><span class="line">admui-web/src/main/resources/public/themes/base/css/skins/yellow.css</span><br><span class="line">admui-web/src/main/resources/public/themes/base/js/site.js</span><br><span class="line">admui-web/src/main/resources/public/themes/global/js/configs/site-configs.js</span><br><span class="line">admui-web/src/main/resources/public/themes/topbar/css/site.css</span><br><span class="line">admui-web/src/main/resources/public/themes/topbar/css/skins/brown.css</span><br><span class="line">admui-web/src/main/resources/public/themes/topbar/css/skins/cyan.css</span><br><span class="line">admui-web/src/main/resources/public/themes/topbar/css/skins/green.css</span><br><span class="line">admui-web/src/main/resources/public/themes/topbar/css/skins/grey.css</span><br><span class="line">admui-web/src/main/resources/public/themes/topbar/css/skins/indigo.css</span><br><span class="line">admui-web/src/main/resources/public/themes/topbar/css/skins/orange.css</span><br><span class="line">admui-web/src/main/resources/public/themes/topbar/css/skins/pink.css</span><br><span class="line">admui-web/src/main/resources/public/themes/topbar/css/skins/purple.css</span><br><span class="line">admui-web/src/main/resources/public/themes/topbar/css/skins/red.css</span><br><span class="line">admui-web/src/main/resources/public/themes/topbar/css/skins/teal.css</span><br><span class="line">admui-web/src/main/resources/public/themes/topbar/css/skins/yellow.css</span><br><span class="line">admui-web/src/main/resources/public/themes/topbar/js/site.js</span><br><span class="line">admui-web/src/main/resources/public/vendor/ashoverscroll/jquery-asHoverScroll.js</span><br><span class="line">admui-web/src/main/resources/public/vendor/ashoverscroll/jquery-asHoverScroll.min.js</span><br><span class="line">admui-web/src/main/resources/public/vendor/screenfull/screenfull.js</span><br><span class="line">admui-web/src/main/resources/public/vendor/screenfull/screenfull.min.js</span><br><span class="line">admui-web/src/main/resources/public/vendor/select2/select2.css</span><br><span class="line">admui-web/src/main/resources/templates/common/footer.html</span><br><span class="line">admui-web/src/main/resources/templates/common/menubar.html</span><br><span class="line">admui-web/src/main/resources/templates/common/navbar.html</span><br><span class="line">admui-web/src/main/resources/templates/error/400.html</span><br><span class="line">admui-web/src/main/resources/templates/error/403.html</span><br><span class="line">admui-web/src/main/resources/templates/error/404.html</span><br><span class="line">admui-web/src/main/resources/templates/error/500.html</span><br><span class="line">admui-web/src/main/resources/templates/error/503.html</span><br><span class="line">admui-web/src/main/resources/templates/examples/components/structure/navbars.html</span><br><span class="line">admui-web/src/main/resources/templates/index.html</span><br><span class="line">admui-web/src/main/resources/templates/system/role.html</span><br><span class="line">database/admui.sql</span><br></pre></td></tr></table></figure>
<h3 id="在线体验"><a href="#%E5%9C%A8%E7%BA%BF%E4%BD%93%E9%AA%8C" class="headerlink" title="在线体验"></a>在线体验</h3><p><a href="http://www.admui.com/demo" target="_blank" rel="noopener">http://www.admui.com/demo</a></p>

</div>
<div class="footer">
    &copy; 2015-2018
    <a href="http://www.admui.com/">Admui</a>
    ·
    上海畅控
</div>

    
</div>


<script src="https://cdn.staticfile.org/smooth-scroll/14.2.1/smooth-scroll.min.js"></script>
<script src="http://cdn.admui.com/docs/common/js/common.js"></script>

<script src="https://cdn.staticfile.org/fastclick/1.0.6/fastclick.min.js"></script>
<script>
    document.addEventListener('DOMContentLoaded', function () {
        FastClick.attach(document.body);
    }, false);
    (function(){
        var bp = document.createElement('script');
        var curProtocol = window.location.protocol.split(':')[0];
        if (curProtocol === 'https') {
            bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
        }
        else {
            bp.src = 'http://push.zhanzhang.baidu.com/push.js';
        }
        var s = document.getElementsByTagName("script")[0];
        s.parentNode.insertBefore(bp, s);
    })();
</script>

</body>
</html>
